package com.chongdong.dao.local.mapper;


import com.chongdong.entity.local.LocalPrdBase;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

public interface LocalPrdBaseMapper extends Mapper<LocalPrdBase> {

    void saveMapping(@Param("localId") Long localId, @Param("saasId") Long saasId);

    Long getProtocalId(@Param("prvId") Long prvId, @Param("imborgid") long imborgid);

    void insertbyrProtocolProduct(@Param("protocolId") Long protocolId, @Param("prdId") Long prdId,
                                  @Param("protocolProductStatus") int protocolProductStatus, @Param("protocolProductType") int protocolProductType,
                                  @Param("createTime") Date createTime, @Param("updateTime") Date updateTime, @Param("intiPrice") Double intiPrice, @Param("discount") Double discount);
}